using System;
using ns27;
using Triton.Game.Mono;

namespace Triton.Game.Mapping
{
	[Attribute38("GameDbf")]
	public class GameDbf : MonoClass
	{
		public static GameDbfIndex s_index => MonoClass.smethod_7<GameDbfIndex>(TritonHs.MainAssemblyPath, "", "GameDbf", "s_index");

		public GameDbf(IntPtr address, string className)
			: base(address, className)
		{
		}

		public GameDbf(IntPtr address)
			: this(address, "GameDbf")
		{
		}

		public static GameDbfIndex GetIndex()
		{
			return MonoClass.smethod_15<GameDbfIndex>(TritonHs.MainAssemblyPath, "", "GameDbf", "GetIndex", Array.Empty<object>());
		}

		public static void LoadXml()
		{
			MonoClass.smethod_17(TritonHs.MainAssemblyPath, "", "GameDbf", "LoadXml");
		}

		public static bool ShouldForceXmlLoading()
		{
			return MonoClass.smethod_14<bool>(TritonHs.MainAssemblyPath, "", "GameDbf", "ShouldForceXmlLoading", Array.Empty<object>());
		}

		public static void Load(bool useXmlLoading)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "GameDbf", "Load", useXmlLoading);
		}

		public static void Reload(string name, string xml)
		{
			MonoClass.smethod_18(TritonHs.MainAssemblyPath, "", "GameDbf", "Reload", name, xml);
		}
	}
}
